package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.pojo.Invitation;
import org.example.service.InvitationService;
import org.example.mapper.InvitationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yy
 * @description 针对表【invitation】的数据库操作Service实现
 * @createDate 2024-03-05 11:31:51
 */
@Service
public class InvitationServiceImpl extends ServiceImpl<InvitationMapper, Invitation>
        implements InvitationService {

    @Autowired
    private InvitationMapper invitationMapper;

    @Override
    public List<Invitation> findInvitations(Integer invitationId) {
        return invitationMapper.selectInvitations(invitationId);
    }
}




